﻿namespace OpenCompiler.AST
{
	public class UsingStatement : Statement
	{
		internal UsingStatement(Statement parent, string name)
			: base(parent)
		{
			this.Name = name;
			this.TypeAlias = string.Empty;
		}

		internal UsingStatement(Statement parent, string name, string alias)
			: base(parent)
		{
			this.Name = name;
			this.TypeAlias = alias;
		}

		public string Name { get; private set; }
		public string TypeAlias { get; private set; }
	}
}
